home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Python 1.3.3
/
Python 133 68K
/
Demo
/
macerrors
next >
Wrap
Text File
|
1996-05-20
|
3KB
|
92 lines
Hi all,
I finally got the Demo scripts by grabbing and unpacking the
complete 1.3 source distribution. Of all the neat stuff in there, I
found 12 scripts which actually run on PythonPPC out of the box. Three
of these are in the "scripts" folder: fact, pi, and primes. All three
are nice, clean, short code, with comments, and run right away. The
others were in stdwin: several of these scripts work, and several others
don't.
The bulk of the Demo scripts are not suitable for newbies and/or
Mac users because they suffer from some combination of the following:
1. requires command-line arguments
2. requires special hardware or non-included modules
3. only pertains to Unix
4. only pertains to networking stuff (ftp, sockets, etc.)
...in short, I can see that they are all highly relevant to the author,
but maybe not all useful to the general newbie public. Lest I be thought
just a whiner, I'm eager to lend a hand -- I plan to write some more
general-interest newbie-learning type scripts as I learn, and I'll be
posting them as I go.
Detailed comments for each Demo subdirectory follow. Any comments are
appreciated.
------------------------------------------------------------------
classes & comparisons:
None of these seem to do anything; when I drop them on PythonPPC, the
application launches and immediately quits. Upon examining the code, I
find that they expect command-line arguments, but I can find no way to
supply them.
cwlib: ditto, but also not listed in the README.
dns: looks like another Unix/networking/guru thing
embed: useless without a C compiler
ibrowse: useless without Emacs
md5test: cryptic unless you know what "md5" is (READMEs don't tell)
pdist: see comments for dns
rpc: requires Sun
scripts:
eqfix: requires command-line parameter
=) fact: actually works! Commented code! Nicely done.
from: requires environment variables
ftpstats: didn't even bother
lpwatch: bombed for lack of posix
makedir: immediate quit
markov: ditto
mboxconvert: didn't bother
mkrcs: immediate quit
morse: AttributeError: SndNewChannel (too bad, looked fun)
mpzpi: ImportError: No module named mpz
newslist: didn't bother
=) pi: Ran! Nice short code! Good job.
pp: ran, confusing, looks like it needs command line
=) primes: see fact and pi (nice demo)
script: ImportError: No module named select
unbirthday: appeared to run; should pause on output
update: funny lines (interesting, but useful...?)
wh: ImportError: No module named which
sgi: requires SGI
sockets: no thanks (see dns)
stdwin: mixed...
cool:
clock, FormTest, miniedit, python, RadioGroups,
TestCSplit, TestFormSplit, TestSched, TestTextEdit
crashes:
jukebox, lpwin, microedit, TestDirList, wdiff
threads: see sockets
tkinter: ImportError: No module named Tkinter
(I figured that; may get that separately later...)
www: see threads
,------------------------------------------------------------------.
| Joseph J. Strout Department of Neuroscience, UCSD |
| jstrout@ucsd.edu http://www-acs.ucsd.edu/~jstrout/ |
`------------------------------------------------------------------'